Trim

Block Group: String Operations
Icon: Trim block icon

The Trim block removes all leading and trailing whitespace from text.


Input/Output Property

The following property of the Trim block can take input and give output.

input specifies the text to remove whitespace from.


Output Property

The following property of the Trim block can give output but cannot take input.


Example

The following image shows an example of a Trim block. In this example, the Trim block removes space characters or Tab characters before and after "Weather Forecast".

Trim block example